package com.zhilingshenghuo.app.zhly.view.fragment

import android.view.View
import com.zhilingshenghuo.app.zhly.R
import com.zhilingshenghuo.app.zhly.entity.ProgressTestBean
import kotlinx.android.synthetic.main.fragment_market.*

class MarketFragment :BaseFragment(){

    private lateinit var mList :ArrayList<ProgressTestBean>

    override fun getLayoutResId(): Int {
        return R.layout.fragment_market
    }

    override fun onClick() {

    }

    override fun initView(view: View?) {
        super.initView(view)
        mList = ArrayList()
        mList.add(ProgressTestBean(20,20))
        mList.add(ProgressTestBean(20,20))
        mList.add(ProgressTestBean(20,20))
        mList.add(ProgressTestBean(20,20))
        mList.add(ProgressTestBean(5,20,"800,000.00 AI"))
        progressbarTvLeftOver.setmProgressList(mList)
        progressbarLevel.setmProgressList(mList)
    }
}